package com.ls.markt.model.admin;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * 赛事实体类
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Events implements Serializable {


    private static final long serialVersionUID = 2191388305754805874L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    private String name;
}
